<?php
require("./config.php");
$con=mysqli_connect($servername,$username,$password,$dbname);
mysqli_query($con,"CREATE TABLE `$dbname`.`qdata_people` ( `id` VARCHAR(100) NOT NULL , `email` TEXT NOT NULL , `time` INT NOT NULL , `token` TEXT NOT NULL , `table` TEXT NOT NULL) ENGINE = InnoDB;");
mysqli_query($con, "ALTER TABLE `qdata_people` ADD PRIMARY KEY(`id`);");
mysqli_query($con,"CREATE TABLE `$dbname`.`qdata_table` ( `id` VARCHAR(100) NOT NULL , `email` TEXT NOT NULL , `token` TEXT NOT NULL , `name` TEXT NOT NULL) ENGINE = InnoDB;");
mysqli_query($con, "ALTER TABLE `qdata_table` ADD PRIMARY KEY(`id`);");
?>